package top.superflow.core.pool.resource.defaults



import org.apache.commons.lang3.StringUtils
import top.superflow.core.pool.imp.ResourcePoolConfig

import scala.beans.BeanProperty

class DefaultResourcePoolConfig 
extends ResourcePoolConfig
{
  
  @BeanProperty
  protected var idleTimeout : Long = Long.MaxValue
  
  @BeanProperty
  protected var maximumCount : Int = Int.MaxValue
  
  @BeanProperty
  protected var maximumIdleCount : Int = Int.MaxValue
  
  @BeanProperty
  protected var minimumIdleCount : Int = Int.MaxValue
  
  @BeanProperty
  protected var key : String = StringUtils.EMPTY
  
  @BeanProperty
  protected var resourceType : String = null
}